package com.cyt.sys.model.po;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 系统模块-用户Token实体类
 *
 * @author congcong tao
 * @date 2019-4-24 9:38:22
 */
@Data
@NoArgsConstructor
@Table(name = "base_user_token")
public class SysUserToken implements Serializable{

	/**
     * 用户ID
     */ 
	@Id
	private String id;

	/**
     * token
     */ 
	@Column(name = "token")
	private String token;

	/**
     * 过期时间
     */ 
	@Column(name = "expire_time")
	private Date expireTime;

	/**
     * 更新时间
     */ 
	@Column(name = "update_time")
	private Date updateTime;
}